#coding:utf-8
#未分类数据
video_cated = False
#已分类数据
video_cated = True


config_romawords = {}
config_romawords['i'] = '1'
config_romawords['ii'] = '2'
config_romawords['iii'] = '3'
config_romawords['iv'] = '4'
config_romawords['v'] = '5'
config_romawords['vi'] = '6'
config_romawords['vii'] = '7'
config_romawords['viii'] = '8'
config_romawords['iv'] = '9'
config_romawords['x'] = '10'
config_romawords['xi'] = '11'
config_romawords['xii'] = '12'


#config_match=1	#播放源
config_match=2	#知识库
#config_match=3	#别名


#绑定:True	别名: False
#config_match = False
#config_match = True

#数据文件目录
#dict_dir = '.'
#dict_dir = './etc'
dict_dir = './matchutils/etc'

fname_bad_alias = dict_dir + "/bad_alias.txt"

fname_syn_word = dict_dir + '/syn_words.txt'
fname_map_name = dict_dir + '/name_map.txt'
fname_imp_word = dict_dir + "/word_imps.txt"

if config_match == 2:
    fname_imp_word = fname_imp_word + ".kb"
elif config_match == 3:
    fname_imp_word = fname_imp_word + ".alias"

cache_intro = False

bind_up_bound = 0.6
bind_lo_bound = -0.2

link_bound = 0.60
